package com.nuoniu.sibanyun.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName ProcessRouteAndPriceDetailVo
 * @Description TODO
 * @Author 白强
 * @Date 2022/1/26 16:17
 * @Version 1.0
 **/
@Data
@ApiModel("工艺路线明细 + 工序价格")
public class ProcessRouteAndPriceDetailVo {

    @ApiModelProperty(value = "工艺路线id")
    @TableField("process_route_id")
    private Integer processRouteId;

    @ApiModelProperty(value = "工艺路线名称")
    @TableField("process_route_name")
    private String processRouteName;

    @ApiModelProperty(value = "工艺路线_工序明细ID")
    @TableField("process_route_detail_id")
    private Integer processRouteDetailId;

    @ApiModelProperty(value = "工序最新工价明细ID")
    @TableField("procedure_price_detail_Id")
    private Integer procedurePriceDetailId;

    @ApiModelProperty(value = "工序id")
    @TableField("procedure_id")
    private Integer procedureId;

    @ApiModelProperty(value = "工序名称")
    @TableField("procedure_name")
    private String procedureName;

    @ApiModelProperty(value = "工序编码")
    @TableField("procedure_code")
    private String procedureCode;

    @ApiModelProperty(value = "工序顺序")
    @TableField("procedure_order")
    private Integer procedureOrder;

    @ApiModelProperty(value = "工序标识 1:首工序 2：未工序 3：中间工序")
    @TableField("procedure_flag")
    private Integer procedureFlag;




    @ApiModelProperty(value = "工资类型1:计件2:计时3:不核算")
    @TableField("wages_type")
    private Integer wagesType;

    @ApiModelProperty(value = "合格品价格")
    @TableField(value = "qualified_price")
    private BigDecimal qualifiedPrice;

    @ApiModelProperty(value = "返修品价格")
    @TableField(value = "rework_price")
    private BigDecimal reworkPrice;

    @ApiModelProperty(value = "不合格品价格")
    @TableField(value = "unqualified_price")
    private BigDecimal unqualifiedPrice;

    @ApiModelProperty(value = "报废品价格")
    @TableField(value = "scrap_price")
    private BigDecimal scrapPrice;

    @ApiModelProperty(value = "工时价格(小时)")
    @TableField("work_hour_price")
    private BigDecimal workHourPrice;


    @ApiModelProperty(value = "合格品价格--最新")
    private BigDecimal lastQualifiedPrice;

    @ApiModelProperty(value = "返修品价格--最新")
    private BigDecimal lastReworkPrice;

    @ApiModelProperty(value = "不合格品价格--最新")
    private BigDecimal lastUnqualifiedPrice;

    @ApiModelProperty(value = "报废品价格--最新")
    private BigDecimal lastScrapPrice;

    @ApiModelProperty(value = "工时价格(小时)--最新")
    private BigDecimal lastWorkHourPrice;
}
